﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020006C3 RID: 1731
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetFantasticStoryActivityDataScRsp : IMessage<GetFantasticStoryActivityDataScRsp>, IMessage, IEquatable<GetFantasticStoryActivityDataScRsp>, IDeepCloneable<GetFantasticStoryActivityDataScRsp>, IBufferMessage
	{
		// Token: 0x17001646 RID: 5702
		// (get) Token: 0x06004E05 RID: 19973 RVA: 0x000D5163 File Offset: 0x000D3363
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetFantasticStoryActivityDataScRsp> Parser
		{
			get
			{
				return GetFantasticStoryActivityDataScRsp._parser;
			}
		}

		// Token: 0x17001647 RID: 5703
		// (get) Token: 0x06004E06 RID: 19974 RVA: 0x000D516A File Offset: 0x000D336A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetFantasticStoryActivityDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001648 RID: 5704
		// (get) Token: 0x06004E07 RID: 19975 RVA: 0x000D517C File Offset: 0x000D337C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetFantasticStoryActivityDataScRsp.Descriptor;
			}
		}

		// Token: 0x06004E08 RID: 19976 RVA: 0x000D5183 File Offset: 0x000D3383
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFantasticStoryActivityDataScRsp()
		{
		}

		// Token: 0x06004E09 RID: 19977 RVA: 0x000D518C File Offset: 0x000D338C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFantasticStoryActivityDataScRsp(GetFantasticStoryActivityDataScRsp other) : this()
		{
			this.oBHHHGOCNNE_ = ((other.oBHHHGOCNNE_ != null) ? other.oBHHHGOCNNE_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004E0A RID: 19978 RVA: 0x000D51D8 File Offset: 0x000D33D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFantasticStoryActivityDataScRsp Clone()
		{
			return new GetFantasticStoryActivityDataScRsp(this);
		}

		// Token: 0x17001649 RID: 5705
		// (get) Token: 0x06004E0B RID: 19979 RVA: 0x000D51E0 File Offset: 0x000D33E0
		// (set) Token: 0x06004E0C RID: 19980 RVA: 0x000D51E8 File Offset: 0x000D33E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FantasticActivityData OBHHHGOCNNE
		{
			get
			{
				return this.oBHHHGOCNNE_;
			}
			set
			{
				this.oBHHHGOCNNE_ = value;
			}
		}

		// Token: 0x1700164A RID: 5706
		// (get) Token: 0x06004E0D RID: 19981 RVA: 0x000D51F1 File Offset: 0x000D33F1
		// (set) Token: 0x06004E0E RID: 19982 RVA: 0x000D51F9 File Offset: 0x000D33F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06004E0F RID: 19983 RVA: 0x000D5202 File Offset: 0x000D3402
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetFantasticStoryActivityDataScRsp);
		}

		// Token: 0x06004E10 RID: 19984 RVA: 0x000D5210 File Offset: 0x000D3410
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetFantasticStoryActivityDataScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.OBHHHGOCNNE, other.OBHHHGOCNNE) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004E11 RID: 19985 RVA: 0x000D5260 File Offset: 0x000D3460
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.oBHHHGOCNNE_ != null)
			{
				num ^= this.OBHHHGOCNNE.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004E12 RID: 19986 RVA: 0x000D52B5 File Offset: 0x000D34B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004E13 RID: 19987 RVA: 0x000D52BD File Offset: 0x000D34BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004E14 RID: 19988 RVA: 0x000D52C8 File Offset: 0x000D34C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Retcode);
			}
			if (this.oBHHHGOCNNE_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.OBHHHGOCNNE);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004E15 RID: 19989 RVA: 0x000D5324 File Offset: 0x000D3524
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.oBHHHGOCNNE_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.OBHHHGOCNNE);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004E16 RID: 19990 RVA: 0x000D537C File Offset: 0x000D357C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetFantasticStoryActivityDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.oBHHHGOCNNE_ != null)
			{
				if (this.oBHHHGOCNNE_ == null)
				{
					this.OBHHHGOCNNE = new FantasticActivityData();
				}
				this.OBHHHGOCNNE.MergeFrom(other.OBHHHGOCNNE);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004E17 RID: 19991 RVA: 0x000D53E4 File Offset: 0x000D35E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004E18 RID: 19992 RVA: 0x000D53F0 File Offset: 0x000D35F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					if (num != 114U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.oBHHHGOCNNE_ == null)
						{
							this.OBHHHGOCNNE = new FantasticActivityData();
						}
						input.ReadMessage(this.OBHHHGOCNNE);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001EC1 RID: 7873
		private static readonly MessageParser<GetFantasticStoryActivityDataScRsp> _parser = new MessageParser<GetFantasticStoryActivityDataScRsp>(() => new GetFantasticStoryActivityDataScRsp());

		// Token: 0x04001EC2 RID: 7874
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001EC3 RID: 7875
		public const int OBHHHGOCNNEFieldNumber = 14;

		// Token: 0x04001EC4 RID: 7876
		private FantasticActivityData oBHHHGOCNNE_;

		// Token: 0x04001EC5 RID: 7877
		public const int RetcodeFieldNumber = 11;

		// Token: 0x04001EC6 RID: 7878
		private uint retcode_;
	}
}
